<?php

class Pageley_Reflection_ParameterChanger {

    private $index;
    private $newValue;
    
    public function __construct($index, $newValue) {
        $this->index = $index;
        $this->newValue = $newValue;
    }
    
    public function execute($parameters) {
        $parameters->put($this->index, $this->newValue);
    }
}